﻿using Hx.ADSyncPlatform.ActiveDirectory.Attributes;

namespace Hx.ADSyncPlatform.ActiveDirectory.Model
{

    public class User
    {

        public string cn { get; set; }

        public string sAMAccountName { get; set; }

        public string userPrincipalName { get; set; }

        public string displayname { get; set; }

        public string department { get; set; }

        public string mail { get; set; }

        public string name { get; set; }


        public string mobile { get; set; }

        public string description { get; set; }

        public string title { get; set; }

        public string telephoneNumber { get; set; }

        /// <summary>
        /// 通讯地址 （国家）
        /// </summary>
        public string co { get; set; }

        /// <summary>
        /// 街道地址
        /// </summary>
        public string postalAddress { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string postalCode { get; set; }


        [ColumnMapping("LogonWorkstations")]
        /// <summary>
        /// 默认计算机
        /// </summary>
        public string Workstations { get; set; }


        [ColumnMapping("LogonWorkstations")]
        /// <summary>
        /// 其他计算机
        /// </summary>
        public string OtherWorkstations { get; set; }



    }
}
